package com.bean;

import java.util.List;

public class CourseListBean {


    /**
     * code : 1
     * msg : 成功
     * time : 1588038146
     * data : {"course_id":1,"title":"眼力练习-入门版","titles":"冥想-内观练习","id":1,"name":"课程1--眼力练习之图形的记忆","star":0,"num":0,"ago":{"total":1,"per_page":10,"current_page":1,"last_page":1,"data":[{"id":4,"course_id":1,"catelog_id":4,"num":1,"last_time":0,"is_already":"1","start":3,"title":"冥想-内观练习","name":"课程4"}]}}
     */

    private int code;
    private String msg;
    private String time;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * course_id : 1
         * title : 眼力练习-入门版
         * titles : 冥想-内观练习
         * id : 1
         * name : 课程1--眼力练习之图形的记忆
         * names : 课程1--眼力练习之图形的记忆
         * star : 0
         * num : 0
         * ago : {"total":1,"per_page":10,"current_page":1,"last_page":1,"data":[{"id":4,"course_id":1,"catelog_id":4,"num":1,"last_time":0,"is_already":"1","start":3,"title":"冥想-内观练习","name":"课程4"}]}
         */

        private int course_id;
        private String title;
        private String titles;
        private int id;
        private String name;
        private String names;
        private int star;
        private int num;
        private AgoBean ago;

        public int getCourse_id() {
            return course_id;
        }

        public void setCourse_id(int course_id) {
            this.course_id = course_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTitles() {
            return titles;
        }

        public void setTitles(String titles) {
            this.titles = titles;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNames() {
            return names;
        }

        public void setNames(String names) {
            this.names = names;
        }

        public int getStar() {
            return star;
        }

        public void setStar(int star) {
            this.star = star;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public AgoBean getAgo() {
            return ago;
        }

        public void setAgo(AgoBean ago) {
            this.ago = ago;
        }

        public static class AgoBean {
            /**
             * total : 1
             * per_page : 10
             * current_page : 1
             * last_page : 1
             * data : [{"id":4,"course_id":1,"catelog_id":4,"num":1,"last_time":0,"is_already":"1","start":3,"title":"冥想-内观练习","name":"课程4"}]
             */

            private int total;
            private int per_page;
            private int current_page;
            private int last_page;
            private List<DataBean> data;

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getPer_page() {
                return per_page;
            }

            public void setPer_page(int per_page) {
                this.per_page = per_page;
            }

            public int getCurrent_page() {
                return current_page;
            }

            public void setCurrent_page(int current_page) {
                this.current_page = current_page;
            }

            public int getLast_page() {
                return last_page;
            }

            public void setLast_page(int last_page) {
                this.last_page = last_page;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean {
                /**
                 * id : 4
                 * course_id : 1
                 * catelog_id : 4
                 * num : 1
                 * last_time : 0
                 * is_already : 1
                 * start : 3
                 * title : 冥想-内观练习
                 * name : 课程4
                 * names : 课程4
                 */

                private int id;
                private int course_id;
                private int catelog_id;
                private int num;
                private int last_time;
                private String is_already;
                private int start;
                private String title;
                private String name;
                private String names;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getCourse_id() {
                    return course_id;
                }

                public void setCourse_id(int course_id) {
                    this.course_id = course_id;
                }

                public int getCatelog_id() {
                    return catelog_id;
                }

                public void setCatelog_id(int catelog_id) {
                    this.catelog_id = catelog_id;
                }

                public int getNum() {
                    return num;
                }

                public void setNum(int num) {
                    this.num = num;
                }

                public int getLast_time() {
                    return last_time;
                }

                public void setLast_time(int last_time) {
                    this.last_time = last_time;
                }

                public String getIs_already() {
                    return is_already;
                }

                public void setIs_already(String is_already) {
                    this.is_already = is_already;
                }

                public int getStart() {
                    return start;
                }

                public void setStart(int start) {
                    this.start = start;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getNames() {
                    return names;
                }

                public void setNames(String names) {
                    this.names = names;
                }
            }
        }
    }
}

